package whf.framework.security.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.security.dao.UserTypeDAO;
import whf.framework.security.entity.UserType;
import whf.framework.util.BeanFactory;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-07-06
 */
public class UserTypeServiceImp extends whf.framework.service.ServiceImp<UserType> implements UserTypeService {

	private UserTypeDAO userTypeDAO;

	/**
	 * @modify wanghaifeng Sep 11, 2006 10:28:46 PM
	 * @param userTypeDAO
	 */
	public void setUserTypeDAO(UserTypeDAO userTypeDAO) {
		this.userTypeDAO = userTypeDAO;
	}

	public static UserTypeService getUserTypeService() throws ServiceNotFoundException {
		return (UserTypeService)BeanFactory.getService(UserTypeServiceImp.class) ;
	}
} 